time: 2021.3
# -*- coding: utf-8 -*-
# @Time    : 2021/3/21 12:29
# @Author  : luogan
# @Email   : 468640092@qq.com
# @File    : 2021.3.21罗干作业--分数定等级.py
# @Software: PyCharm.
############分数定等级###########
a = input("请问您的成绩是:")
if a.isdigit():
    a = int(a)
    if 85<=a<=100:
        print("优秀!")
    if 60<=a<85:
        print("良好!")
    if 0<=a<60:
        print(("不及格!"))
    elif a<0 or a>100:
        print("您输入的成绩不在范围内")
else:
    print("您输入格式错误")